﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Touch2Like.Web.api
{
    public partial class Feedback : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Request["name"]))
            {
                string name = Request["name"];
                string companyName = Request["company"];
                string telephone = Request["phone"];
                string email = Request["email"];
                string message = Request["message"];
                WebUtility.SendContactUsEmail(name, companyName, telephone, email, message);
            }
        }
    }
}